import request from "@/http/index.ts";

// 登录
export const getLoginApi = (data: any) => {
    return request({
        url: "/login",
        method: "post",
        data,
    });
};
// 获取菜单/路由
export const getMenusApi = (data: any) => {
    return request({
        url: "/menus",
        method: "post",
        data,
    });
};
